@import "~taro-ui/dist/style/components/icon.scss";

cardpanel {
  margin: 10px auto 20px;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: $baseWidth;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 2px 10px 0px $gray;
  margin-bottom: 40px !important;

  .img {
    width: 100%;
    height: 350px;
  }
  .time {
    display: flex;
    color: #999;
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 18px;

    view:first-child {
      margin-right: 8px;
    }
  }
  .body {
    padding: 18px;
    width: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    .content {
      flex: 7;
      .title {
        font-size: 30px;
        color: black;
        font-weight: bold;
      }
      .desc {
        font-size: 25px;
        color: $gray;
      }
    }

    .heart {
      flex: 2;
      display: flex;
      align-content: center;
      justify-content: center;
      flex-direction: column;
      color: $baseColor;
      text-align: center;

      .heart-icon {
        font-size: 50px;
      }

      .heart-text {
        font-size: 20px;
      }
    }
  }
}
